package com.weiqiao.mall.repository;

import com.weiqiao.base.dao.IBaseMongoDao;
import org.bson.Document;
import org.bson.conversions.Bson;

public interface IMemberConfigRepository extends IBaseMongoDao {

    /**
     * 获取会员设置信息
     *
     * @param filter 查询条件
     * @return {} / ""
     */
    String getMemberConfigInfo(Bson filter);

    /**
     * 更新会员设置信息
     *
     * @param filter 查询条件
     * @param doc    更新内容
     * @return true/false
     */
    Boolean updateMemberConfig(Bson filter, Document doc);
}
